package com.group.admin.service.impl;

import com.group.admin.dao.AdminDao;
import com.group.admin.service.AdminService;
import com.group.commons.entity.Admin;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author :spj
 * @date:2022/6/6
 * @description:
 */
@Service
public class AdminServiceImpl implements AdminService {
    @Resource
    AdminDao adminDao;
    @Override
    public Admin findAdminByPid(int id) {
        return adminDao.findAdminByPid(id);
    }
}
